Python/VIT/sem-1/ex-13/1. String palindrome check/String palindrome check.py
text=str(input("Enter a string: "))
textF=text.lower()
textR=textF[::-1]
if textF==textR:
print("Palindrome")
else:
print("Not a palindrome")
text=str(input("Enter a string: "))
textF=text.lower()
textR=textF[::-1]
if textF==textR:
print("Palindrome")
else:
print("Not a palindrome")